package com.klasster.recruitmentPlatform.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "credential", autoResultMap = true)
public class Credential {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 求职者id
     */
    private Long seeker_id;

    /**
     * 求职者的多个技能证书（存储string类型的代号编码）
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> credentials;

}
